package com.photographysharing.response;

public class SingleResponse {
    private int Code = 200;
    private boolean Success;
    private boolean Fail;

    public SingleResponse(){
        Success = true;
    }

    public SingleResponse(boolean b){
        if(b){
            Success = true;
        }else{
            Fail = true;
        }
    }


    public int getCode() {
        return Code;
    }

    public void setCode(int code) {
        Code = code;
    }

    public boolean isSuccess() {
        return Success;
    }

    public void setSuccess(boolean success) {
        Success = success;
    }

    public boolean isFail() {
        return Fail;
    }

    public void setFail(boolean fail) {
        Fail = fail;
    }
}
